ownPropertyNames

abstract fun ownPropertyNames(): List<String>

Returns an immutable list of the names of the properties of this JavaScript object, both enumerable and non-enumerable, excluding the properties from the prototype objects.

Return

a list of the names of the own properties of this JavaScript object or an empty list if the object does not have any own properties

Throws

when the JavaScript object is already disposed or invalid